export interface OriginAssistantType {
  title: string //卡片标题
  introduction: string //卡片简介
  tableList: TableListType
  contentList?: AssistantStepType[]
  thumbnail: Thumbnail //
}

export interface Thumbnail {
  pc: string //PC端缩略图
  mobile: string //移动端缩略图
}

export interface AssistantStepType {
  media: string
  article: string
}

// export enum Platform {
//   'PC' = 'PC',
//   'Android' = 'Android',
//   'iOS' = 'iOS',
// }
export type Platform = 'PC' | 'Android' | 'iOS'

export type TableListType = {
  [key in Platform]?: AssistantStepType[]
}

export interface AssistantProps extends OriginAssistantType {
  key: string //文章目录
}

export interface Step {
  currentPlatform: Platform //当前平台
  platformList: string[] //平台列表
  content: string
}
